package beans;

import java.io.Serializable;

@SuppressWarnings("serial")
public class BenCatBean implements Serializable{
	private Integer id;	
	private String naziv;
	
	public BenCatBean() {
	}

	public BenCatBean(String naziv) {
		super();
		this.naziv = naziv;
	}

	public BenCatBean(Integer id, String naziv) {
		super();
		this.id = id;
		this.naziv = naziv;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNaziv() {
		return naziv;
	}

	public void setNaziv(String naziv) {
		this.naziv = naziv;
	}

	@Override
	public String toString() {		
		return "BenCat - ID: " + id + " , naziv: " + naziv;
	}

}
